package com.ctshk.rpc.payment.dto.req.unionpay;

import lombok.Data;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @BelongsProject: ctshk-cloud
 * @BelongsPackage: com.ctshk.rpc.payment.dto.req.unionpay
 * @Author: hef
 * @CreateTime: 2021-05-06 16:00
 * @Description: 银联支付查询交易请求参数
 */
@Data
public class UnionPayQueryTransReq extends UnionPayCommonReq {

    public UnionPayQueryTransReq(String merId, String orderId) {
        super("000802", "00", "00", merId, orderId,
                LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss")));
    }
}
